package JUNHO.conjuntos;

import java.util.TreeSet;

public class VariosTestes {
	
	public static void main(String[] args) {
		
		TreeSet<Pc> set = new TreeSet<Pc>();
		set.add(new Pc("Intel",512));
		set.add(new Pc("Arc",256));
		set.add(new Pc("Amd",1024));
		set.add(new Pc("Zion",1024));
		set.add(new Pc("Arc",256));
		System.out.println(set);
	}

}
